package cn.sfrog.project.biz.admin.domain;

import cn.sfrog.common.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;


@Data
@TableName("biz_study_order")
public class BizStudyOrder extends BaseEntity<BizStudyOrder>{

    public static final BizStudyOrder DAO = new BizStudyOrder();

    private static final long serialVersionUID = 1L;


    /** id */
    @TableId(type = IdType.AUTO)
    private Long id;


    /** 学研订单编号 */
    private String studyOrderSn;


    /** 项目id */
    private Long projectId;


    /** 医院id */
    private Long hospitalId;


    /** 订单数量 */
    private Integer num;


    /** 订单金额 */
    private BigDecimal amount;


    /** 下单人id */
    private Long userId;


}
